<!--{include header_order}-->
  <style type="text/css">
.share-list{margin: 40px 38px 10px;}
.share-list .blk {float: left;margin-bottom: 20px;}
.share-list .blk .logo{float:left;_display:inline;margin-right:15px;width:48px;height:48px;border:1px solid #ccc;background-color:#fff;}
.share-list .blk .info {float: left;width: 535px;}
  </style>
  
<div id="bdw" class="bdw has-order-nav">
  <div id="bd" class="cf" >
            <div  data-component="order-nav" class="component-order-nav" mt-scope='[]'  data-component-config='{"lazyRender":false,"afterLoad":false}'><img src='data:image/png,' onerror='M._autoinit.push(this.parentNode);this.parentNode.removeChild(this);' width=1 height=1 style='position:absolute;'><div class="side-nav J-order-nav">
    <div class="J-side-nav__user side-nav__user cf">
        <a href="/account/settings.php" title="上传头像" gaevent="/account/settings.php" class="J-user item user">
		<!--{if $login_user['avatar']}-->
		<img src="${user_image($login_user['avatar'])}" width="30" height="30">
		<!--{else}-->
		<img src="/static/0750/css/img/user-default-avatar.png" width="30" height="30">
		<!--{/if}-->
		</a>
							
							
        <div class="item info">
            <div class="info__name">${mb_strimwidth($login_user['username'],0,10)}</div>
            <div><a target="_blank" href="/credit/score.php">
			<!--{if $login_user['score']  < 100}-->
<em>V0</em>会员
<!--{elseif $login_user['score'] > 99 && $login_user['score'] < 500}-->
<em>V1</em>会员
<!--{elseif $login_user['score'] > 499 && $login_user['score'] < 1000}-->
<em>V2</em>会员
<!--{elseif $login_user['score'] > 999 && $login_user['score'] < 1500}-->
<em>V3</em>会员
<!--{elseif $login_user['score'] > 1499 && $login_user['score'] < 2000}-->
<em>V4</em>会员
<!--{elseif $login_user['score'] > 1999 && $login_user['score'] < 2500}-->
<em>V5</em>会员
<!--{elseif $login_user['score'] > 2499 && $login_user['score'] < 3000}-->
<em>V6</em>会员
<!--{elseif $login_user['score'] > 2999 && $login_user['score'] < 3500}-->
<em>V7</em>会员
<!--{elseif $login_user['manager']=='Y'}-->
<em>管理员</em>
<!--{/if}-->
			
			
			</a></div>
            <div class="op cf">
               
                <a href="/account/setbinds.php" class="phone uix-tooltip " title="绑定手机"></a>
                <a href="/account/settings.php" class="setting uix-tooltip setting-noset" title="编辑资料"></a>
            </div>
        </div>
    </div>
    <div class="side-nav__account cf">
        <a class="item item--first" gaevent="/credit/index.php" target="_blank" href="/credit/index.php" title="${moneyit($login_user['money'])}">${moneyit($login_user['money'])}<span>余额</span></a>
        <a class="item" gaevent="/credit/score.php" target="_blank" href="/credit/score.php" title="${moneyit($login_user['score'])}">${moneyit($login_user['score'])}<span>积分</span></a>
      
    </div>
    <dl class="side-nav__list">
	 <dt><strong>我的优惠券</strong></dt>
        <dd>
            <ul class="item-list">
              <li ><a href="/coupon/index.php">未使用</a></li>
				 <li ><a href="/coupon/consume.php">已使用</a></li>
				  <li ><a href="/coupon/expire.php">已过期</a></li>
            </ul>
        </dd>
        <dt class="first-item"><strong>我的订单</strong></dt>
        <dd>
            <ul class="item-list">
                <li  ><a href="/order/index.php?s=index">全部订单</a></li>
				 <li ><a href="/order/index.php?s=unpay">未付款</a></li>
                <li ><a href="/order/index.php?s=pay">已付款</a></li>
				 <li ><a href="/order/index.php?s=askrefund">申请退款</a></li>
            </ul>
        </dd>
		 
		  <dt><strong>我的邀请</strong></dt>
        <dd>
            <ul class="item-list">
              ${current_invite('referpending')}
            </ul>
        </dd>
        <dt><strong>我的账户</strong></dt>
        <dd class="last">
            <ul class="item-list">
			 <li ><a href="/account/settings.php">账户设置</a></li>
			  <li ><a href="/credit/index.php">我的余额</a></li>
			  <li ><a href="/account/myask.php" >我的问答</a></li>
			    <li ><a href="/account/setbinds.php">手机绑定</a></li>
				  <li ><a href="/account/setaddress.php">收货地址</a></li>
            </ul>
        </dd>
		 <dt><strong>我的参与</strong></dt>
        <dd>
            <ul class="item-list">
                <li ><a href="/account/comment.php">我的评价</a></li>
                <li ><a href="/account/collect.php">我的收藏</a></li>
                <li ><a href="/credit/score.php">我的积分</a></li>
			   <li ><a href="/credit/records.php">兑换记录</a></li>
            </ul>
        </dd>
    </dl>
</div>

</div>
            



 <div id="content" class="coupons-box ">
    <div class="mainbox mine">
	
     <div class="share-list">
      <div class="blk im">
							<div class="logo"><img src="/static/css/i/logo_qq.gif" /></div>
							<div class="info">
								<h4>这是您的专用邀请链接，请通过 MSN 或 QQ 发送给好友：</h4>
								<input id="share-copy-text" type="text" value="{$INI['system']['wwwprefix']}/r.php?r={$mail}" size="80" class="f-input" onfocus="this.select()" tip="复制成功，可以通过 MSN 或 QQ 发送给好友了" />
								<input id="share-copy-button" type="button" value="复制" class="formbutton"  style="display:none" />
							</div>
						</div>
						</div>
 
        <div class="orders-wrapper" id="order-list">
            <div class="orders-head">
                <div class="order-cell order-info">用户</div>
                <div class="order-cell order-money" style="width:130px">邀请时间</div>
                <div class="order-cell order-status">&nbsp;</div>
                <div class="order-cell order-op">过期时间</div>
            </div>
		<!--{loop $invites $index $one}-->
            <div class="J-order-w">
            
                <div class="order-row">
                    <div  class="order-row--sub order-row--last" >
                        <div class="order-cell order-info">
                            <div class="deal-info cf">
                                <div class="info-detail" style="width:100%;">
                                    <p style="text-align:center;">{$users[$one['other_user_id']]['username']}</p>
                                </div>
                            </div>
                        </div>
                       
                        <div class="order-cell order-money" style="width:130px;">
                            <span class="money" >${date('Y年m月d日 H:i', $one['create_time'])}</span>
                            <br /><span class="delivery-text">
                            </span>
                        </div>
                        <div class="order-cell order-status">
                              &nbsp;
                                
                        </div> 
                            <div class="order-cell order-op">
                          ${date('Y年m月d日 H:i', $one['create_time']+7*86400)}
                            </div>
                    </div>
                </div>
            </div>
          <!--{/loop}-->
		  <div style="margin:5px auto;">{$pagestring}</div>
				
        </div>
    

	</div>
</div>


        </div>
		
		</div> <!-- bdw end -->

<!--{include footer}-->
